package com.wang.spring;

import org.springframework.beans.factory.annotation.Value;

public class Util2 {

	
	//#{} spring EL
	//${} PropertyPlaceholderConfigurer 配置支持的特殊取值格式
	@Value("#{util}")
	private Util util;
		
	@Value("#{util.age}")
	private String age;

	public Util getUtil() {
		return util;
	}
	
	
	public void setUtil(Util util) {
		this.util = util;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	
	
}
